-- GENERATED SPELL FOR [Anaya Dawnrunner] --


function spell0_3667(pUnit, Event) --@Banshee Curse,n/a--
pUnit:FullCastSpellOnTarget(5884,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3667', 14000, 1)
end

function Sorts_3667(pUnit, Event)
local choix_sorts_3667 = math.random(0, 0)
if choix_sorts_3667 == 0 then
pUnit:RegisterEvent('spell0_3667', 1, 1)
end
end

function mob3667_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3667', math.random(1500, 3000), 1)
end

function mob3667_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3667_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3667_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3667, 1, 'mob3667_Action')
RegisterUnitEvent(3667, 2, 'mob3667_Leave')
RegisterUnitEvent(3667, 3, 'mob3667_Kill')
RegisterUnitEvent(3667, 4, 'mob3667_Die')
